//
//  BMItemView.h
//  Rail
//
//  Created by hychen on 2018/3/5.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BMItemModel : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *content;
@end

@interface BMItemView : UIView
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *contentLabel;

@property (nonatomic, strong) BMItemModel *model;
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, copy) void(^BlockClickItem)(BMItemModel *model,NSInteger index);

- (void)setTitle:(NSString *)title content:(NSString *)content;

@end
